;; Company
(setq company-minimux-prefix-length 3
			company-idle-delay 0.0
			company-begin-commands '(self-insert-command)
      company-selection-wrap-around t
      company-show-numbers t)

(require 'company)
(with-eval-after-load 'company
	(add-hook 'after-init-hook 'global-company-mode)
	(add-hook 'company-mode 'company-box-mode)
	(add-hook 'lsp-mode 'company-mode))

;; Hippie Expand
(global-set-key (kbd "M-SPC") 'hippie-expand)
(setq hippie-expand-try-functions-list '(try-expand-dabbrev
																				 try-expand-dabbrev-all-buffers
																				 try-expand-dabbrev-from-kill
																				 try-complete-file-name-partially
																				 try-complete-file-name
																				 try-expand-all-abbrevs
																				 try-expand-list
																				 try-expand-line
																				 try-complete-lisp-symbol-partially
																				 try-complete-lisp-symbol))

(provide 'init-completions)
